package com.wyz.common.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("`order`")
public class OrderPO {
    @TableId(value = "`id`", type = IdType.AUTO)
    private Long id;
    private String description;
    @TableField("`when`")
    private Date when;
    private String location;
    private Long senderId;
    private Long receiverId;
    private Double price;
    @TableField("`status`")
    private String status;
    @TableField("`comment`")
    private String comment;
    @TableField("create_time")
    private Date createTime;
}







